<div class="floatL leftBlock" >
    <?php if ($model->getComments()) : ?>
        <h3>Ваши комментарии</h3><br />
	<?php foreach ($model->getComments() as $comments) : ?>
	    <div class="recordRow">		
		<a href="<?php echo $comments->getTarget()->getViewLink('comment_' . $comments->getId()); ?>" class="recordTitle"><b><?php echo $comments->getTarget()->getDbData('title'); ?></b></a><br />
		<?php echo CTruncate::trunc($comments->getDbData('content')); ?>
		<br />
		<div class="clear padTop10"></div>
		<div class="rowInfo overHidden">
		    <div class="floatR">
			<div class="floatL margRight10"><b class="<?php if ($comments->getDbData('rating') >= 0) : ?>green<?php else : ?>red<?php endif; ?>"><i class="icon-star"></i> <?php echo $comments->getDbData('rating'); ?></b></div>
		    </div>
		</div>
	    </div>
	    <hr/>
	<?php endforeach; ?>
    <?php endif; ?>
    <div class="clear"></div>
    <div class="padTop10"></div>
    <div class="taCenter">
	<?php $this->widget('CLinkPager', array('pages' => $pager, 'cssFile' => false, 'header' => '', 'firstPageLabel' => 'Первая', 'nextPageLabel' => 'Следующая', 'prevPageLabel' => 'Предыдущая', 'lastPageLabel' => 'Последняя')); ?>
    </div>
</div>


